/* 初始化 charts参数 */
export const ageData = [
  {
    value: 200,
    name: "10岁以下",
    percentage: "16%",
  },
  {
    value: 110,
    name: "10 - 18岁",
    percentage: "8%",
  },
  {
    value: 150,
    name: "18 - 30岁",
    percentage: "12%",
  },
  {
    value: 310,
    name: "30 - 40岁",
    percentage: "24%",
  },
  {
    value: 250,
    name: "40 - 60岁",
    percentage: "20%",
  },
  {
    value: 260,
    name: "60岁以上",
    percentage: "20%",
  },
];
export const hotData = [
  {
    value: 79999,
    name: "峨眉山",
    percentage: "80%",
    maxValue: 100000,
  },
  {
    value: 59999,
    name: "稻城亚丁",
    percentage: "60%",
    maxValue: 100000,
  },
  {
    value: 49999,
    name: "九寨沟",
    percentage: "50%",
    maxValue: 100000,
  },
  {
    value: 39999,
    name: "万里长城",
    percentage: "40%",
    maxValue: 100000,
  },
  {
    value: 29999,
    name: "北京故宫",
    percentage: "30%",
    maxValue: 100000,
  },
];
export const platFromData = [
  {
    value: 40,
    name: "智慧文旅平台",
    percentage: "40%",
  },
  {
    value: 10,
    name: "携程",
    percentage: "10%",
  },
  {
    value: 20,
    name: "飞猪",
    percentage: "20%",
  },
  {
    value: 30,
    name: "其他渠道",
    percentage: "30%",
  },
];
export const annualData = [
  {
    label: new Date().getFullYear() - 2 + "年",
    value: [
      "184",
      "90",
      "120",
      "0",
      "30",
      "100",
      "80",
      "40",
      "20",
      "510",
      "350",
      "180",
    ],
  },
  {
    label: new Date().getFullYear() - 1 + "年",
    value: [
      "118",
      "509",
      "366",
      "162",
      "380",
      "123",
      "321",
      "158",
      "352",
      "474",
      "154",
      "22",
    ],
  },
  {
    label: new Date().getFullYear() + "年",
    value: [
      "548",
      "259",
      "113",
      "90",
      "69",
      "512",
      "23",
      "49",
      "28",
      "420",
      "313",
      "156",
    ],
  },
];
export const mapData = [
  {
    fromName: "北京",
    toName: "上海",
    coords: [
      [116.4551, 40.2539],
      [121.4648, 31.2891],
    ],
  },
  {
    fromName: "上海",
    toName: "北京",
    coords: [
      [121.4648, 31.2891],
      [116.4551, 40.2539],
    ],
  },
  {
    fromName: "北京",
    toName: "广州",
    coords: [
      [116.4551, 40.2539],
      [113.5107, 23.2196],
    ],
  },
  {
    fromName: "广州",
    toName: "北京",
    coords: [
      [113.5107, 23.2196],
      [116.4551, 40.2539],
    ],
  },
  {
    fromName: "北京",
    toName: "成都",
    coords: [
      [116.4551, 40.2539],
      [103.9526, 30.7617],
    ],
  },
  {
    fromName: "成都",
    toName: "北京",
    coords: [
      [103.9526, 30.7617],
      [116.4551, 40.2539],
    ],
  },
  {
    fromName: "成都",
    toName: "新疆维吾尔自治区",
    coords: [
      [103.9526, 30.7617],
      [85.294711, 41.371801],
    ],
  },
  {
    fromName: " 新疆维吾尔自治区",
    toName: "成都",
    coords: [
      [85.294711, 41.371801],
      [103.9526, 30.7617],
    ],
  },
];
